local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1, L34_1, L35_1, L36_1, L37_1, L38_1
L0_1 = {}
L0_1.group_id = 220103003
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3001
L2_1.monster_id = 22010101
L3_1 = {}
L3_1.x = -115.966
L3_1.y = -12.486
L3_1.z = 124.851
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 315.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.pose_id = 9013
L3_1 = {}
L3_1.config_id = 3002
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = -121.789
L4_1.y = -12.468
L4_1.z = 130.907
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 135.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.pose_id = 9012
L4_1 = {}
L4_1.config_id = 3003
L4_1.monster_id = 21010201
L5_1 = {}
L5_1.x = -118.868
L5_1.y = -12.495
L5_1.z = 132.367
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 180.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.pose_id = 9012
L5_1 = {}
L5_1.config_id = 3004
L5_1.monster_id = 21010201
L6_1 = {}
L6_1.x = -123.219
L6_1.y = -12.469
L6_1.z = 126.096
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 65.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.pose_id = 9012
L6_1 = {}
L6_1.config_id = 3005
L6_1.monster_id = 21010201
L7_1 = {}
L7_1.x = -115.681
L7_1.y = -12.486
L7_1.z = 130.898
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 235.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.pose_id = 9012
L7_1 = {}
L7_1.config_id = 3040
L7_1.monster_id = 21010502
L8_1 = {}
L8_1.x = -133.635
L8_1.y = -12.495
L8_1.z = 124.204
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3006
L2_1.gadget_id = 70350033
L3_1 = {}
L3_1.x = -128.424
L3_1.y = -12.471
L3_1.z = 127.701
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.GearStop
L2_1.state = L3_1
L3_1 = {}
L3_1.config_id = 3007
L3_1.gadget_id = 70300107
L4_1 = {}
L4_1.x = -118.951
L4_1.y = -12.465
L4_1.z = 128.099
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L4_1 = {}
L4_1.config_id = 3009
L4_1.gadget_id = 70220010
L5_1 = {}
L5_1.x = -118.224
L5_1.y = -12.484
L5_1.z = 118.392
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 3010
L5_1.gadget_id = 70220010
L6_1 = {}
L6_1.x = -119.141
L6_1.y = -12.484
L6_1.z = 138.05
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 180.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 3011
L6_1.gadget_id = 70310001
L7_1 = {}
L7_1.x = -138.239
L7_1.y = -12.484
L7_1.z = 124.424
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 3012
L7_1.gadget_id = 70220010
L8_1 = {}
L8_1.x = -132.219
L8_1.y = -12.483
L8_1.z = 134.82
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 90.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 3013
L8_1.gadget_id = 70350003
L9_1 = {}
L9_1.x = -128.498
L9_1.y = -12.394
L9_1.z = 112.04
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 0.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 3014
L9_1.gadget_id = 70220013
L10_1 = {}
L10_1.x = -118.31
L10_1.y = -12.48
L10_1.z = 114.39
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 0.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 3015
L10_1.gadget_id = 70220026
L11_1 = {}
L11_1.x = -116.635
L11_1.y = -12.484
L11_1.z = 114.55
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 30.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 3016
L11_1.gadget_id = 70220026
L12_1 = {}
L12_1.x = -119.932
L12_1.y = -12.484
L12_1.z = 114.471
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 300.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 3017
L12_1.gadget_id = 70220014
L13_1 = {}
L13_1.x = -115.745
L13_1.y = -12.484
L13_1.z = 139.286
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 3018
L13_1.gadget_id = 70220014
L14_1 = {}
L14_1.x = -117.345
L14_1.y = -12.484
L14_1.z = 139.921
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 3019
L14_1.gadget_id = 70310001
L15_1 = {}
L15_1.x = -111.043
L15_1.y = -12.565
L15_1.z = 119.815
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 3020
L15_1.gadget_id = 70310001
L16_1 = {}
L16_1.x = -110.96
L16_1.y = -12.484
L16_1.z = 131.609
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 3021
L16_1.gadget_id = 70310001
L17_1 = {}
L17_1.x = -124.364
L17_1.y = -12.483
L17_1.z = 114.568
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 3022
L17_1.gadget_id = 70310001
L18_1 = {}
L18_1.x = -132.648
L18_1.y = -12.525
L18_1.z = 114.717
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 3023
L18_1.gadget_id = 70220016
L19_1 = {}
L19_1.x = -134.806
L19_1.y = -11.585
L19_1.z = 141.42
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 90.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 3024
L19_1.gadget_id = 70220016
L20_1 = {}
L20_1.x = -133.718
L20_1.y = -11.585
L20_1.z = 141.404
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 90.0
L20_1.y = 0.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 3025
L20_1.gadget_id = 70220016
L21_1 = {}
L21_1.x = -132.599
L21_1.y = -11.585
L21_1.z = 141.394
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 90.0
L21_1.y = 0.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 3026
L21_1.gadget_id = 70220026
L22_1 = {}
L22_1.x = -110.472
L22_1.y = -12.483
L22_1.z = 137.893
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 3027
L22_1.gadget_id = 70220026
L23_1 = {}
L23_1.x = -127.315
L23_1.y = -12.484
L23_1.z = 141.381
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 3028
L23_1.gadget_id = 70220026
L24_1 = {}
L24_1.x = -125.844
L24_1.y = -12.484
L24_1.z = 141.492
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 60.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 3029
L24_1.gadget_id = 70310001
L25_1 = {}
L25_1.x = -137.909
L25_1.y = -12.483
L25_1.z = 131.313
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 3030
L25_1.gadget_id = 70211101
L26_1 = {}
L26_1.x = -139.111
L26_1.y = -12.483
L26_1.z = 127.788
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 90.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 6
L25_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\232\146\153\229\190\183"
L25_1.isOneoff = true
L25_1.persistent = true
L26_1 = {}
L26_1.config_id = 3031
L26_1.gadget_id = 70220013
L27_1 = {}
L27_1.x = -140.373
L27_1.y = -12.621
L27_1.z = 117.505
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 3032
L27_1.gadget_id = 70220026
L28_1 = {}
L28_1.x = -140.242
L28_1.y = -12.607
L28_1.z = 119.217
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 30.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 3034
L28_1.gadget_id = 70220013
L29_1 = {}
L29_1.x = -139.067
L29_1.y = -12.484
L29_1.z = 138.59
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 3035
L29_1.gadget_id = 70500000
L30_1 = {}
L30_1.x = -139.975
L30_1.y = -12.499
L30_1.z = 120.134
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 0.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L29_1.point_type = 2010
L29_1.isOneoff = true
L30_1 = {}
L30_1.config_id = 3036
L30_1.gadget_id = 70220026
L31_1 = {}
L31_1.x = -139.215
L31_1.y = -12.483
L31_1.z = 136.937
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 0.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 3037
L31_1.gadget_id = 70220026
L32_1 = {}
L32_1.x = -138.752
L32_1.y = -12.615
L32_1.z = 116.367
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 3038
L32_1.gadget_id = 70220025
L33_1 = {}
L33_1.x = -139.753
L33_1.y = -12.503
L33_1.z = 120.06
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 90.0
L33_1.y = 0.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L33_1 = {}
L33_1.config_id = 3039
L33_1.gadget_id = 70220025
L34_1 = {}
L34_1.x = -139.201
L34_1.y = -12.421
L34_1.z = 127.708
L33_1.pos = L34_1
L34_1 = {}
L34_1.x = 90.0
L34_1.y = 0.0
L34_1.z = 0.0
L33_1.rot = L34_1
L33_1.level = 1
L34_1 = {}
L34_1.config_id = 3041
L34_1.gadget_id = 70500000
L35_1 = {}
L35_1.x = -91.083
L35_1.y = -15.484
L35_1.z = 99.615
L34_1.pos = L35_1
L35_1 = {}
L35_1.x = 0.0
L35_1.y = 0.0
L35_1.z = 0.0
L34_1.rot = L35_1
L34_1.level = 1
L34_1.point_type = 2010
L34_1.isOneoff = true
L35_1 = {}
L35_1.config_id = 3042
L35_1.gadget_id = 70900205
L36_1 = {}
L36_1.x = -129.884
L36_1.y = -14.568
L36_1.z = 132.426
L35_1.pos = L36_1
L36_1 = {}
L36_1.x = 0.0
L36_1.y = 0.0
L36_1.z = 0.0
L35_1.rot = L36_1
L35_1.level = 1
L36_1 = {}
L36_1.config_id = 3043
L36_1.gadget_id = 70500000
L37_1 = {}
L37_1.x = -90.404
L37_1.y = -15.484
L37_1.z = 99.364
L36_1.pos = L37_1
L37_1 = {}
L37_1.x = 0.0
L37_1.y = 0.0
L37_1.z = 0.0
L36_1.rot = L37_1
L36_1.level = 1
L36_1.point_type = 2010
L36_1.isOneoff = true
L37_1 = {}
L37_1.config_id = 3044
L37_1.gadget_id = 70500000
L38_1 = {}
L38_1.x = -139.269
L38_1.y = -12.645
L38_1.z = 117.265
L37_1.pos = L38_1
L38_1 = {}
L38_1.x = 0.0
L38_1.y = 0.0
L38_1.z = 0.0
L37_1.rot = L38_1
L37_1.level = 1
L37_1.point_type = 2010
L37_1.isOneoff = true
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
L1_1[32] = L33_1
L1_1[33] = L34_1
L1_1[34] = L35_1
L1_1[35] = L36_1
L1_1[36] = L37_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 3008
L3_1 = RegionShape
L3_1 = L3_1.CUBIC
L2_1.shape = L3_1
L3_1 = {}
L3_1.x = 5.0
L3_1.y = 10.0
L3_1.z = 5.0
L2_1.size = L3_1
L3_1 = {}
L3_1.x = -107.199
L3_1.y = -8.982
L3_1.z = 125.65
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1003008
L2_1.name = "ENTER_REGION_3008"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_3008"
L2_1.action = "action_EVENT_ENTER_REGION_3008"
L3_1 = {}
L3_1.config_id = 1003033
L3_1.name = "ANY_MONSTER_DIE_3033"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_3033"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_3033"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 3006
L5_1 = 3007
L6_1 = 3011
L7_1 = 3013
L8_1 = 3014
L9_1 = 3015
L10_1 = 3016
L11_1 = 3017
L12_1 = 3018
L13_1 = 3019
L14_1 = 3020
L15_1 = 3021
L16_1 = 3022
L17_1 = 3023
L18_1 = 3024
L19_1 = 3025
L20_1 = 3026
L21_1 = 3027
L22_1 = 3028
L23_1 = 3029
L24_1 = 3030
L25_1 = 3031
L26_1 = 3032
L27_1 = 3034
L28_1 = 3035
L29_1 = 3036
L30_1 = 3037
L31_1 = 3038
L32_1 = 3039
L33_1 = 3041
L34_1 = 3042
L35_1 = 3043
L36_1 = 3044
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L3_1[19] = L22_1
L3_1[20] = L23_1
L3_1[21] = L24_1
L3_1[22] = L25_1
L3_1[23] = L26_1
L3_1[24] = L27_1
L3_1[25] = L28_1
L3_1[26] = L29_1
L3_1[27] = L30_1
L3_1[28] = L31_1
L3_1[29] = L32_1
L3_1[30] = L33_1
L3_1[31] = L34_1
L3_1[32] = L35_1
L3_1[33] = L36_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 3008
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_3008"
L5_1 = "ANY_MONSTER_DIE_3033"
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 3001
L6_1 = 3002
L7_1 = 3003
L8_1 = 3004
L9_1 = 3005
L10_1 = 3040
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 3009
L6_1 = 3010
L7_1 = 3012
L8_1 = 3042
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 3008 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_3008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3006
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3011
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3019
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3020
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3021
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3022
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_3008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_3033 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3013
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.UnlockForce
  L3_2 = A0_2
  L4_2 = 8
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : unlock_force"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.UnlockForce
  L3_2 = A0_2
  L4_2 = 11
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : unlock_force"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 3006
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 220103004
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220103002
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 2010
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_3033 = L1_1
